package com.heima.media.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.common.dto.ResponseResult;
import com.heima.media.dto.ChannelDto;
import com.heima.media.entity.WmChannel;

public interface IWmChannelService extends IService<WmChannel> {

    ResponseResult listByName(ChannelDto dto);

    ResponseResult saveChannel(WmChannel entity);

    ResponseResult updateChannel(WmChannel channel);

    ResponseResult deleteChannel(Integer id);

    //public WmChannel getById(Integer id);

    /**
     * 集成而来所有当前模块CRUD接口方法
     */

}
